package com.fjnu.entities;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;

/**
 * 维修部门的实体类		
 * @author 默默
 *
 */
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
@JsonIdentityInfo(
	        generator = ObjectIdGenerators.PropertyGenerator.class,
	        property = "id",
	        scope = FinalRepair.class)
public class FinalRepair {
	private Integer id;
	private User repairUser;
	private ExamRepair examRepair;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public User getRepairUser() {
		return repairUser;
	}
	public void setRepairUser(User repairUser) {
		this.repairUser = repairUser;
	}
	public ExamRepair getExamRepair() {
		return examRepair;
	}
	public void setExamRepair(ExamRepair examRepair) {
		this.examRepair = examRepair;
	}
	public FinalRepair(Integer id, ExamRepair examRepair) {
		super();
		this.id = id;
		this.examRepair = examRepair;
	}
	public FinalRepair() {
		// TODO Auto-generated constructor stub
	}
}
